<template>
<div>
    <el-dialog
        title="确认退出登录吗？"
        v-model="showExitLogin"
        width="30%"
    >
        <template #footer>
            <el-button type="primary" @click="showExitLogin.value = false">取消</el-button>
            <el-button type="danger" @click="handleExitLogin">确认退出</el-button>
        </template>
    </el-dialog>
</div>
</template>


<script setup>
import { inject } from 'vue'

const showExitLogin = inject('showExitLogin')

const handleExitLogin = () => {
    showExitLogin.value = false
}


</script>



<style lang="scss" scoped >

</style>
